package com.renting.modules.timer.entity;

import com.renting.common.entity.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "SYS_TIMER")
public class Timer extends BaseEntity {

    private String description;//定时器描述
    private String cron;//规则

    public Timer() {
    }

    public String getDesc() {
        return description;
    }

    public void setDesc(String description) {
        this.description = description;
    }

    public String getCron() {
        return cron;
    }

    public void setCron(String cron) {
        this.cron = cron;
    }

}
